package com.shj.service.impl;

import com.shj.dao.SysPartRecordMapper;
import com.shj.entity.SysPartRecord;
import com.shj.service.SysPartRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author songhuajian
 * @Description: TODO
 * @date 2020/6/16 15:23
 **/
@Service
public class SysPartReacordServiceImpl implements SysPartRecordService {
    @Autowired
    private SysPartRecordMapper sysPartRecordMapper;

    @Override
    public List<SysPartRecord> findAll() {
        return sysPartRecordMapper.findAll();
    }

    @Override
    public void add(SysPartRecord sysPartRecord) {
        sysPartRecordMapper.insert(sysPartRecord);
    }

}
